package com.imusic.model.user.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("user_info")
public class UserInfo implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private String salt;

    private String name;

    private String password;

    private String phone;

    private String images;

    private Short sex;

    @TableField("is_certification")
    private Short isCertification;

    @TableField("is_identity_authentication")
    private Short isIdentityAuthentication;

    private Short status;

    private Short flag;

    @TableField("create_time")
    private Date createTime;
}
